<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title><?=SITE_NAME; ?></title>
	<meta name="author" content="Jeff Denton : The Teaching Research Institute : dentonj@wou.edu">
	<link rel="stylesheet" type="text/css" href="../ext2.0/resources/css/ext-all.css" />
	<link rel="stylesheet" type="text/css" href="ext/resources/css/accordion.css" />
	<link rel="stylesheet" type="text/css" href="ext/resources/css/filetree.css" />
	<link rel="stylesheet" type="text/css" href="ext/resources/css/uploadform.css" />
	<link rel="STYLESHEET" href="css/<?=$stylesheet; ?>">
	<link rel="STYLESHEET" href="css/effects<?=$browser; ?>.css">
	<!-- JavaScript Files -->
		<!-- EXT Library Stuff -->
		<script type="text/javascript" src="../ext2.0/adapter/ext/ext-base.js"></script>
	    <script type="text/javascript" src="../ext2.0/ext-all.js"></script>
	    
	    <!-- Ext Extension Library Stuff  -->
	    <script type="text/javascript" src="ext/Ext.ux.InfoPanel.js"></script>
		<script type="text/javascript" src="ext/Ext.ux.Accordion.js"></script>
		<script type="text/javascript" src="ext/Ext.ux.UploadForm.js"></script>
    	<script type="text/javascript" src="ext/Ext.ux.FileTreePanel.js"></script>
    	
    	<? if ($toolbox == 1) { ?>   	
    	<script type="text/javascript" src="js/toolbox.js"></script>
    	<? } ?>
			    
	    <!-- Protaculous Stuff (Do we need this) -->
	    <SCRIPT src="js/protaculous/prototype.js" language="JavaScript" type=text/javascript></SCRIPT>
		<SCRIPT src="js/protaculous/scriptaculous.js?load=effects,dragdrop,combo" language="JavaScript" type="text/javascript"></SCRIPT>
	    
	    <!-- My JavaScript Files -->
		<SCRIPT src="js/jsCommon.js" language="JavaScript" type=text/javascript></SCRIPT>	    
	    <? if (!empty($jsFile)) { ?>
		<SCRIPT src="js/<?=$jsFile; ?>" language="JavaScript" type=text/javascript></SCRIPT>
		<? } ?>	
	<!-- End JavaScript Files -->
	
	<script language="JavaScript">
		function jScriptInit() {
			initToolTips();		
			<? if ( ($file == 'index.php') && ($_SESSION[logged] != 1) ) { ?>
				document.getElementById('userid').focus();
			<? } ?>
		}
		<? if ($sajax == 1) { ?>	
		<? sajax_show_javascript(); ?>
		<? } ?>
	
		
	</script>
	<? if ($richtext>0) { ?>
		<script language="javascript" type="text/javascript" src="<?=$pre; ?>js/tinyeditor/tiny_mce.js"></script>
	<? } ?>
</head>
<body onLoad="jScriptInit();" <?=$bodyStuff; ?>>
<div id="toolTipLayer" class="toolTipLayer"></div>
<div id="container">
	<!-- Main Menu -->
	<? if ($_SESSION[logged] == 1) { ?>
	<div id="west" class="x-layout-inactive-content">
	    <? include('includes/menuMain.php'); ?>
	</div>
	<? } ?>
	<!-- End Main Menu :: Header Area -->
	<div id="north" style="border: none; padding: 0px; margin: 0px;">
    	<div id="header1">
    		<?
    		if (!empty($_SESSION[logged])) {
				echo '<span class="fullName">Welcome, '.$_SESSION[name].'</span>';
			}
    		?>
			<div align="right">
				<? if (!empty($_SESSION[logged])) { ?>
		        <font color="white">Logged in as: <b><?=$_SESSION['userid']; ?></b>&nbsp;&nbsp;</font><br>
				<font color="white">User Level: <b><? echo $userLevelArray[$_SESSION['userLevel']]; ?></b>&nbsp;&nbsp;</font><br><br>
				<a href="index.php?logout=1"><img src="images/logout.gif" border="0" title="Logout"></a>&nbsp;&nbsp;
				<a href="index.php">HOME</a>
				<? } ?>
			</div>
		</div>
  	</div>
  	<div id="east" class="x-layout-inactive-content">
	<? if ($toolbox == 1) { include("includes/toolbox.php"); } ?>
	</div>
  		